using System;
using System.Globalization;
using System.Windows.Data;
namespace Microsoft.Phone.Controls
{
	internal class VisibilityConverter : IValueConverter
	{
		public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
		{
			if ((bool)value ^ (bool)parameter)
			{
				return 0;
			}
			return 1;
		}
		public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
		{
			throw new NotSupportedException();
		}
	}
}
